package com.citycloud.ccuap.tc.oauth2;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.ResourceLoaderAware;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.ResourceLoader;
import org.springframework.data.mybatis.repository.config.EnableMybatisRepositories;

@Configuration("com.citycloud.ccuap.tc.oauth2")
@EnableMybatisRepositories(value = { "com.citycloud.ccuap.tc.oauth2.repository" }, mapperLocations = {
		"classpath*:/mapper/*Mapper.xml" })
@MapperScan(annotationClass = org.apache.ibatis.annotations.Mapper.class, value = { "com.citycloud.ccuap.tc.oauth2.mapper" })
public class Configurer implements ResourceLoaderAware {
	@SuppressWarnings("unused")
	private ResourceLoader resourceLoader;

	@Override
	public void setResourceLoader(ResourceLoader resourceLoader) {
		this.resourceLoader = resourceLoader;
	}
}
